﻿<!DOCTYPE html>
<html>
<head>
<title>添加房间资产</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">
<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div">
  <h3>添加房间资产</h3>
  <ul>
    <li><span class="tit" style="width:70px;">选择楼房：</span></li>
    <li>
      <select id="building_select" style="width:312px;">
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
      </select>
    </li>
  </ul>
  <ul>
    <li><span class="tit" style="width:70px;">选择楼层：</span></li>
    <li>
      <select id="floor_select" style="width:312px;">
        <option value="二室一厅A户型A床位包间">1楼</option>
        <option value="二室一厅A户型A床位包间">2楼</option>
        <option value="二室一厅A户型A床位包间">3楼</option>
      </select>
    </li>
  </ul>
  <ul>
    <li><span class="tit" style="width:70px;">选择房间：</span></li>
    <li>
      <select id="room_select" style="width:312px;">
        <option value="二室一厅A户型A床位包间">1301一室一厅</option>
        <option value="二室一厅A户型A床位包间">1302二室一厅</option>
        <option value="二室一厅A户型A床位包间">1303单间</option>
      </select>
    </li>
  </ul>
  <ul>
    <li><span style="width:70px;">现有资产：</span></li>
    <div class="list_div" id="vue_vm_list_asset">
      <div style="margin:0;padding:0;" v-for="todo in todos">
        <li style="margin-left:10px;"><span>{{todo.assetName}}：{{todo.quantity}}个</span></li>
      </div>
    </div>
  </ul>
  <ul>
    <li style="width:60px;"><span id="roomNumber"></span></li>
    <li style="width:80px;margin-left:10px;"><span id="roomType"></span></li>
  </ul>
</div>
<div class="list_div" id="vue_vm_list">
  <div style="margin:0;padding:0;" v-for="todo in todos">
    <div style="clear:both;"></div>
    <ul>
      <li><span>{{todo.assetName}}</span></li>
      <li style="width:200px;"><span>件数</span><span style="margin-left:10px;">
        <input type="text" placeholder="请输入件数" v-bind:id="todo.assetId+'_quantity'" style="width:100px;"/>
        件</span></li>
      <li style="width:160px;top:-13px;">
        <input type="button" value="添加" class="button button1" v-on:click="roomAsset_save(todo);" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<script src="js/common.js"></script> 
<script src="js/common_function.js"></script> 
<script src="js/busi/building_select.js"></script> 
<script src="js/busi/floor_select.js"></script> 
<script src="js/busi/room_select.js"></script> 
<script src="js/busi/room_asset.js"></script>
<script src="js/busi/room_asset_query.js"></script>
</body>
</html>